package com.xjj.serviceattend.feignclient;

import com.xjj.entity.ResponseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: AYang
 * @Date: 2022/10/24 19:18
 * @Description:
 */
@FeignClient(value = "manage")
// @RequestMapping("/manage/admin/klass")
public interface KlassFeignClient {
    @GetMapping("/manage/admin/klass/getKlassByManagerId/{id}")
    public ResponseEntity getKlassByManagerId(@PathVariable("id") int id);
}
